package com.zhuhjay.eduservice.service;

import com.zhuhjay.eduservice.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuhjay.eduservice.entity.subject.SubjectItem;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author ZhuHJay
 * @since 2022-09-06
 */
public interface EduSubjectService extends IService<EduSubject> {
    /**
     * 保存课表数据
     * @param file excel 文件
     */
    void saveSubject(MultipartFile file);

    /**
     * 封装分类
     * @return
     */
    List<SubjectItem> getAllSubjectItems();
}
